package messages;

import sharedspace.User;

public class MessageCourse extends Message {

	/**
	 * This function get available courses for Teacher 
	 */
	private User teacher = null;
	private String subjectID;


	public String getSubjectID() {
		return subjectID;
	}


	public void setSubjectID(String subjectID) {
		this.subjectID = subjectID;
	}


	private static final long serialVersionUID = 1L;
	/**
	 * @param user
	 **/
		public MessageCourse(User user, String numberOfSubject) {
			super(Message.MessageType.MESSAGE_GET_COURSE_IN_SUBJECT);
			teacher = user;
			this.subjectID= numberOfSubject;			
			}
		
		public MessageCourse(String numberOfSubject) {
			super(Message.MessageType.MESSAGE_GET_COURSE_IN_SUBJECT);
			this.subjectID= numberOfSubject;			
			}
		
		public User getUser(){
			return teacher;
		}



		
}

